css: Change currentColor handling
authorBenjamin Otte <otte@redhat.com>
Fri, 6 Sep 2013 01:01:37 +0000 (03:01 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 6 Sep 2013 01:04:09 +0000 (03:04 +0200)
commite6e99c4f9f9ff10ee12ed8a604e367dde3703053
tree85f26bf814fd2f16e2841050091ed5208a1ec15a
parent04b7c8e24e8965943711e8db525a27534cda2179
css: Change currentColor handling

We now pass NULL when the current color should be the default value of
the "color" property and we haven't looked up any value yet. This way we
don't need to look it up all the time and more importantly we can
resolve the default color, which is required because it's a
GtkCssColorValue and not a GtkCssRgbaValue.

Fixes assertions triggering at Polari startup.
gtk/gtkcsscolorvalue.c